<%@ page import="java.util.HashMap" %>
<%@ page import="cn.darkfire.web.POJO.User" %><%--
  Created by IntelliJ IDEA.
  User: Administrator
  Date: 2022/10/12
  Time: 10:27
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%
    if(application.getAttribute("hashMap")==null){
        application.setAttribute("hashMap",new HashMap<String, User>());
    }
%>
<html>
<head>
    <title>用户登记</title>
</head>
<body>
<center>
<form action="IdeaProjects/servlet_learn/web/sy2/todo.jsp" method="post">
    姓名:<input type="text" placeholder="请输入姓名" name = "name"><br>
    年龄:<input type="text" placeholder="请输入年龄" name="age"> <br>
    爱好: <input type="checkbox"  name="hobby" value="C_Plus">C++ <input type="checkbox"  name="hobby" value="JAVA">JAVA
    <input type="checkbox"  name="hobby" value="C">C 语言<br>
    <input type="submit" value="提交">
</form>
</center>
</body>
</html>
